Skip to content

Add SSO_LOGIN_VANITY_URL feature ID to OIDC requests for vanity URL logins#10459

Open
AndrewAsseily wants to merge 3 commits into
v2from
fix/vanity-url-feature-id
Open

Add SSO_LOGIN_VANITY_URL feature ID to OIDC requests for vanity URL logins#10459
AndrewAsseily wants to merge 3 commits into
v2from
fix/vanity-url-feature-id

Conversation

@AndrewAsseily

Copy link
Copy Markdown
Contributor

Issue #, if available: Follow-up to #10457

Description of changes: Registers the SSO_LOGIN_VANITY_URL feature ID in the User-Agent header on SSO-OIDC requests when the login flow resolved a vanity URL to an AWS-owned endpoint.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@AndrewAsseily AndrewAsseily requested a review from a team as a code owner June 30, 2026 16:49
Comment thread awscli/botocore/utils.py
Comment on lines +3286 to +3290
if self._feature_ids:
client.meta.events.register(
'before-parameter-build.sso-oidc.*',
self._register_feature_ids,
)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need all this plumbing of feature_ids and the event? register_feature_ids should work under the start_as_current_context in clidriver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants